/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.wtw.konnekt;

import java.io.File;
import java.io.FilenameFilter;

/**
 *
 * @author Adam
 */
public class XMLFileNameFilter implements FilenameFilter{

    public boolean accept(File dir, String name) {
        if (name.endsWith(".xml")) {
            return true;
        } else {
            return false;
        }
    }

}
